{extend  name="manage@public/layout" /}
{block name="content"}
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>添加缴费 <small></small></h5>
                        <div class="ibox-tools">
                            <a href="/manage/listStudent" class="close-link">
                                <i class="fa fa-reply-all">&nbsp;返回</i>
                            </a>
                        </div>
                    </div>  
                    <div class="ibox-content form-horizontal">
                        
                            <input type="hidden" name="order_sn" value="{$data['id']}">
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">协议金额</label>
                                <div class="col-sm-3">
                                    <input type="text" onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}" name="agreement_price" class="form-control">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">已缴金额</label>
                                <div class="col-sm-3">
                                    <input type="text" onblur="myFunction(this.value)" onkeyup="this.value= this.value.match(/\d+(\.\d{0,2})?/) ? this.value.match(/\d+(\.\d{0,2})?/)[0] : ''" name="submit_price" class="form-control">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <div class="col-sm-4 col-sm-offset-2">
                                    <button class="btn btn-primary btn-cost">确定</button>
                                </div>
                            </div>
                    </div>
                </div>    
            </div>
        </div>
    </div>
    {/block}
{block name="script"}
    <script src="/static/js/admin/students.js?v=1.2"></script>


    
{/block}